import { ref } from 'vue'
export const usePage = function (option?: { page?: number; size?: number; total?: number }) {
  const page = ref(option?.page || 1)
  const size = ref(option?.size || 10)
  const total = ref(option?.total || 0)
  return {
    page,
    size,
    total,
  }
}
